Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport fixes for #1049 and #1046 to 0.19.x branch #1052

Merged
merged 2 commits into from
Feb 22, 2023

Conversation

amisevsk
Copy link
Collaborator

What does this PR do?

Cherry pick fixes to 0.19.x branch:

What issues does this PR fix or reference?

#1049 and #1046 in 0.19.x branch

Is it tested? How?

N/A

PR Checklist

  • E2E tests pass (when PR is ready, comment /test v8-devworkspace-operator-e2e, v8-che-happy-path to trigger)
    • v8-devworkspace-operator-e2e: DevWorkspace e2e test
    • v8-che-happy-path: Happy path for verification integration with Che

AObuchow and others added 2 commits February 22, 2023 16:23
This reverts commit 0cad9a0.

Fix devfile#1046

Signed-off-by: Andrew Obuchowicz <[email protected]>
(cherry picked from commit 4aa1755)
Update SAR checks for user permissions in webhook server to check
whether a user can get/create/update/delete the resource rather than
checking for '*' permissions. This is required as even if the user has
the admin rolebinding, they do not have '*' permissions from the
perspective of the cluster.

Signed-off-by: Angel Misevski <[email protected]>
(cherry picked from commit 66c3f3f)
@openshift-ci
Copy link

openshift-ci bot commented Feb 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: amisevsk

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@amisevsk amisevsk merged commit 9d4f5f7 into devfile:0.19.x Feb 22, 2023
@amisevsk amisevsk deleted the 0.19.1-backport branch February 22, 2023 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants